/**
  * @file		analog.c
  * @author		Naresuan University: Advance Computer System, class of 2013
  * @version	V1.0.0
  * @date		18-September-2013
  * @brief		Analog module
  */

/* Includes ------------------------------------------------------------------*/
#include "analog.h"

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/


/**
  * @brief		Configure ADC peripheral for software-triggered acquisition.
  * @param		None.
  * @retval		None.
  */
void ADC_config(void)
{
}


/**
  * @brief		Reads the value from the specified analog pin.
  * @param		pin 		Number of the analog input pin to read from.
  * @retval		0 to 4095.
  */
uint16_t analogRead(int pin)
{
	return 0x0000;
}
